<?php
use yii\helpers\Url;

$host = \Yii::$app->request->hostInfo;
$scriptUrl = \Yii::$app->request->scriptUrl;
$manage_url = $host . '/site/login';
$mobile_url = $host . '/';
$web = Url::base();
$this->title = '申请成功';
?>

<link rel="stylesheet" type="text/css" href="<?= $web ?>/css/mall-m/apply-for-institution-success.css"/>

<div class="main">
    <div class="main-background">
        <div class="frame">
            <div>管理端地址(建议用pc浏览器打开)</div>
        </div>
        <div class="frame">
            <div style="color: #e56069;"><a href="<?= $manage_url ?>"><?= $manage_url ?></a></div>
        </div>
        <div class="frame">
            <div>登录帐号：</div>
            <div><?= $account ?></div>
        </div>
        <div class="frame">
            <div>登录密码：</div>
            <div><?= $password ?></div>
        </div>
        <div class="frame" style="border: none;">
            <div>用于公司管理人员给员工发放积分及查看帐户信息，请
                妥善保管登录帐号与密码。
            </div>
        </div>
    </div>
    <div class="hr"></div>
    <div class="main-background">
        <div class="frame">
            <div>员工福利商城地址</div>
        </div>
        <div class="frame">
            <div style="color: #e56069;"><a
                    href="<?= $mobile_url . $institution_code ?>"><?= $mobile_url . $institution_code ?></a></div>
        </div>
        <div class="foot-btn"><a href="apply-for-institution-help?record_id=<?= $record_id ?>">如何使用</a>
        </div>
    </div>
</div>
